package com.zp.bean.psychological;

import java.util.List;

import javax.xml.bind.annotation.XmlRootElement;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

import com.zp.bean.common.ResultCommonVo;

/**
 * define role java bean for web services return which include organization
 * object and collection of organization
 * 
 * @author chenlijun08@gmail.com
 * 
 * @version 1.0
 * 
 * @date 2014/3/4
 */
@XmlRootElement
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class ResultOrganizationVo extends ResultCommonVo {

	private static final long serialVersionUID = 1L;

	private OrganizationVo vo;
	private List<OrganizationVo> list;

	public OrganizationVo getVo() {
		return vo;
	}

	public void setVo(OrganizationVo vo) {
		this.vo = vo;
	}

	public List<OrganizationVo> getList() {
		return list;
	}

	public void setList(List<OrganizationVo> list) {
		this.list = list;
	}

}
